/**
 * 
 */
package com.feib.stms.service;


import java.util.List;

import org.springframework.transaction.annotation.Transactional;
import com.feib.stms.model.UploadFile;
import com.feib.stms.model.UploadFileActionLog;

/**
 * 對檔案操作紀錄的介面設計
 * @author Jeff Gu
 *
 */
@Transactional(readOnly = true)
public interface UploadFileActionLogService {
	
	
	/**
	 * 新增檔案操作紀錄
	 * ex:user對檔案作審查
	 * @return
	 */
	@Transactional(readOnly = false)
	public int addUploadFileActionLog(UploadFileActionLog uploadFileActionLog);
	
	
	
	
	/**
	 * 
	 * @param UploadFileActionLog
	 * @return
	 */
	public List<UploadFileActionLog> findUploadFileActionLog(UploadFile uploadFile);
	
	
	/**
	 * 讀取檔案相關操作紀錄筆數
	 * ex:該交割款檔案已審核筆數 作為判斷檔案是否需要進入下一階段的依據
	 * @return
	 */
	public int countUploadFileActionLog(Long uploadFilePk,List<String> action ,Long userPk) ;
	
	
}
